package a.d.a;

import a.c.*;
import a.d.b.l;
import a.f.j.ab;

import java.util.Collection;
import java.util.Iterator;

public class b
{
  private e a;
  private a.d.b.n b;
  public static boolean c;
  
  public b()
  {
    this.a = null;
    this.b = new l();
  }
  
  public b(e parame)
  {
    a(parame);
  }
  
  public b(a.d.b.n paramn)
  {
    a(paramn);
  }
  
  public void a(e parame)
  {
    this.a = parame;
    this.b = this.a.b();
  }
  
  public void a(a.d.b.n paramn)
  {
    this.a = null;
    this.b = paramn;
  }
  
  protected Object a(Object paramObject)
  {
    if (!c.m) {
      if (this.a == null) {
        return paramObject;
      }
    }
    return this.a.b(paramObject);
  }
  
  protected Object c(Object paramObject)
  {
    if (!c.m) {
      if (this.a == null) {
        return paramObject;
      }
    }
    return this.a.a(paramObject);
  }
  
  protected Collection a(Collection paramCollection)
  {
    boolean bool = c.m;
    int i = c.l;
    if (this.a == null) {
      return paramCollection;
    }
    z localz = new z();
    do
    {
      Iterator localIterator = paramCollection.iterator();
      while (i == 0)
      {
        if (!localIterator.hasNext()) {
          break;
        }
        if (i != 0) {
          break label79;
        }
        localz.add(this.a.a(localIterator.next()));
      }
    } while (bool);
    label79:
    return localz;
  }
  
  protected Collection b(Collection paramCollection)
  {
    boolean bool = c.m;
    int i = c.l;
    if (this.a == null) {
      return paramCollection;
    }
    z localz = new z();
    do
    {
      Iterator localIterator = paramCollection.iterator();
      while (i == 0)
      {
        if (!localIterator.hasNext()) {
          break;
        }
        if (i != 0) {
          break label79;
        }
        localz.add(this.a.b(localIterator.next()));
      }
    } while (bool);
    label79:
    return localz;
  }
  
  protected Object d(Object paramObject)
  {
    if (!c.m) {
      if (this.a == null) {
        return paramObject;
      }
    }
    return this.a.d(paramObject);
  }
  
  protected Object e(Object paramObject)
  {
    if (!c.m) {
      if (this.a == null) {
        return paramObject;
      }
    }
    return this.a.c(paramObject);
  }
  
  protected Collection c(Collection paramCollection)
  {
    boolean bool = c.m;
    int i = c.l;
    if (this.a == null) {
      return paramCollection;
    }
    z localz = new z();
    do
    {
      Iterator localIterator = paramCollection.iterator();
      while (i == 0)
      {
        if (!localIterator.hasNext()) {
          break;
        }
        if (i != 0) {
          break label79;
        }
        localz.add(this.a.c(localIterator.next()));
      }
    } while (bool);
    label79:
    return localz;
  }
  
  protected Collection d(Collection paramCollection)
  {
    boolean bool = c.m;
    int i = c.l;
    if (this.a == null) {
      return paramCollection;
    }
    z localz = new z();
    do
    {
      Iterator localIterator = paramCollection.iterator();
      while (i == 0)
      {
        if (!localIterator.hasNext()) {
          break;
        }
        if (i != 0) {
          break label79;
        }
        localz.add(this.a.d(localIterator.next()));
      }
    } while (bool);
    label79:
    return localz;
  }
  
  public void a(Collection paramCollection, q paramq, x paramx, a.c.n paramn)
  {
    a(paramCollection, paramq, paramx, paramn, null, false);
  }
  
  public void a(Collection paramCollection, ab paramab, x paramx, a.c.n paramn)
  {
    a(paramCollection, paramab, paramx, paramn, null, false);
  }
  
  public void a(Collection paramCollection, Object paramObject, x paramx, a.c.n paramn, c.j_ paramj_, boolean paramBoolean)
  {
    boolean bool = c.m;
    int i = c.l;
    Collection localCollection = c(paramCollection);
    c localc = new c();
    localc.a(paramj_);
    q localq;
    if (!bool) {
      if ((paramObject instanceof q))
      {
        localq = (q)paramObject;
        localc.a(this.b, localCollection, localq, paramx, paramn);
        if (!bool)
        {
          if (!paramBoolean) {
            break label204;
          }
          localc.a(this.b, localCollection, localq, paramx, paramn, false);
        }
        if ((!bool) && (i == 0)) {
          break label204;
        }
      }
    }
    if ((bool) || ((paramObject instanceof ab)))
    {
      localObject1 = (ab)paramObject;
      localq = ((ab)localObject1).a();
      localc.a(this.b, localCollection, (ab)localObject1, paramx, paramn);
      if (!bool)
      {
        if (paramBoolean) {
          localc.a(this.b, localCollection, localq, paramx, paramn, true);
        }
      }
      else if (i == 0) {}
    }
    else
    {
      throw new RuntimeException("wrong parameter: " + paramObject);
    }
    label204:
    Object localObject1 = localq.v();
    Object localObject2;
    Object localObject3;
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localObject2 = ((w)localObject1).d();
      localObject3 = paramx.get(localObject2);
      paramx.a(localObject2, a(localObject3));
      ((w)localObject1).f();
    } while (i == 0);
    localObject1 = localq.w();
    do
    {
      if (!((m)localObject1).e()) {
        break;
      }
      localObject2 = ((m)localObject1).a();
      localObject3 = paramn.get(localObject2);
      paramn.a(localObject2, d(localObject3));
      ((m)localObject1).f();
    } while (i == 0);
  }
  
  public Collection e(Collection paramCollection)
  {
    Collection localCollection = a(paramCollection);
    z localz = a.a(this.b, localCollection);
    return b(localz);
  }
  
  public Collection a(a.d.b.n paramn, Collection paramCollection)
  {
    z localz = a.a(paramn, paramCollection);
    return localz;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.d.a.b

 * JD-Core Version:    0.7.0.1

 */